// FILE: Interupt_ClearScreen.h by Richard Hughes 29/04/2012
//
// DESC: Defines the clear screen interupt

#ifndef __interupt_clearscreen_h__
#define __interupt_clearscreen_h__

// INCLUDES
#include "IInterupt.h"
#include "InteruptType.h"
#include "Chip8Screen.h"

// NAMESPACES
namespace Emulator
{
namespace Chip8
{

/*************************************************************/
//
// CLASS: Interupt_ClearScreen
//
// DESC: Defines the clear screen interupt
//
/*************************************************************/

class Interupt_ClearScreen : public IInterupt
{
private:

public:

	Interupt_ClearScreen() {}
	~Interupt_ClearScreen() {}

	void Action(IInteruptableDevice* device)
	{
		((Chip8Screen*)device)->ClearScreen();
	}

	int GetType() { return InteruptType_ClearScreen; }

}; // Chip8CPU

} // Chip8
} // Emulator

#endif // __interupt_clearscreen_h__

// EOF: Interupt_ClearScreen.h